import request from "./request";

/** 获取字典 */
export const getDicts = (data) => {
  return request(`/sys/dict/items`, "get", data);
};

/** 获取可选企业 */
export const getCompanyList = (data) => {
  // return request(`/hazard/availableEnterprises`, "get", data);
  return request(`/user/enterprises`, "get", data);
};

export const downloadFileUrl = "/api/v1/file?uri=";
